const mongoose = require("mongoose");

const Feedback = mongoose.Schema({
  date: {
    type: Date,
    default:Date.now()
  },
  name: {
    type: String,
  },
  phone: {
    type: String,
  },
  email: {
    type: String,
  },
  content: {
    type: String,
  },
});

module.exports = mongoose.model("Feedbacks", Feedback);
